#ifndef PROGRESSBAR_H
#define PROGRESSBAR_H

#include <QProgressBar>

class ProgressBar : public QProgressBar
{
    Q_OBJECT
public:
    explicit ProgressBar(QWidget *parent = 0);
    
protected:
    void mouseDoubleClickEvent(QMouseEvent *);

private:
    void repainter_chunk(int start_value, int end_value);
    
};

#endif // PROGRESSBAR_H
